#include "sys.h"
#include "delay.h"
#include "usart.h"
#include "draw_api.h"
#include "ec11.h"
u8 flag1s;
u8 time=0;
char temp[10];
int main(void)
{
	int i=0;
	NVIC_PriorityGroupConfig(NVIC_PriorityGroup_2);
	delay_init();
	uart_init(115200);
	InitGraph();//OLED
	Encoder_Init();
	while(1)
	{
		i = i+Return_Encoder_Count();
		OledPrintf("Text EC11 I=%d\r\n",i);
		delay_ms(10);
	}
} 
